package com.msb.mall.order.feign;

import com.msb.common.utils.R;
import com.msb.mall.order.vo.MemberAddressVo;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("mall-member")
public interface MemberFeignService {


    @RequestMapping("member/memberreceiveaddress/{memberId}/address")
    R getMemberAddress(@PathVariable("memberId") Long memberId);

    @RequestMapping("member/memberreceiveaddress/info/{id}")
    public R info(@PathVariable("id") Long id);
}
